package com.sanrenzu.chunbo.ui.fenlei;

import com.sanrenzu.chunbo.base.IBaseModle;
import com.sanrenzu.chunbo.base.IBasePresenter;
import com.sanrenzu.chunbo.base.IBaseView;
import com.sanrenzu.chunbo.bean.zxb.LaoTangBean;
import com.sanrenzu.chunbo.bean.zxb.LaoTangChildBean;
import com.sanrenzu.chunbo.bean.zxb.LunBoBean;
import com.sanrenzu.chunbo.bean.zxb.GuanggaoLunboBean;
import com.sanrenzu.chunbo.bean.zxb.QiangGouBean;
import com.sanrenzu.chunbo.bean.zxb.QiangGouChildBean;
import com.sanrenzu.chunbo.bean.zxb.ReMaiBean;
import com.sanrenzu.chunbo.bean.zxb.ReMaiChildBean;
import com.sanrenzu.chunbo.bean.zxb.ShouYeDianJiBean;
import com.sanrenzu.chunbo.bean.zxb.TuiJianBean;
import com.sanrenzu.chunbo.bean.zxb.TuiJianChildBean;
import com.sanrenzu.chunbo.bean.zxb.DataBean;
import com.sanrenzu.chunbo.bean.zxb.FenLeiBean;

import java.util.List;

import retrofit2.Callback;

/**
 * Created by My on 2016/8/30.
 */
public class FenLeiContract{
    //baseview只用于显示，所以显示成功的话，就显示的是此json数据，如果错误提示
    public interface View extends IBaseView{
        public void onGetVerticalDataBean(List<GuanggaoLunboBean> dataBean);
        public void onGetVerticalQiangGouChildBean(List<QiangGouChildBean> qiangGouChildBean);
        public void onGetVerticalTuiJianChildBean(List<TuiJianChildBean> tuiJianChildBean);
        public void onGetVerticalReMaiChildBean(List<ReMaiChildBean> reMaiChildBean);
        public void onGetVerticalLaoTangChildBean(List<LaoTangChildBean> laoTangChildBean);

        public void onGetVerticalFailed(String error);
    }
    public interface  Modle extends IBaseModle{
        public void getVertical (Callback<LunBoBean> dataBean);
        public void getVerticalQiangGouBean (Callback<QiangGouBean> qiangGouBean);
        public void getVerticalTuiJianBean (Callback<TuiJianBean> tuiJianBean);
        public void getVerticalReMaiBean (Callback<ReMaiBean> reMaiBean);
        public void getVerticalLaoTangBean (Callback<LaoTangBean> laoTangBean);

    }
    public interface  Presenter extends IBasePresenter{
        public void getVertical();
        public void getVerticalQiangGouBean();
        public void getVerticalTuiJianBean();
        public void getVerticalReMaiBean();
        public void getVerticalLaoTangBean();

    }

}
